﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/cio.trpl.wcf.service.protobuf.pocos" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/cio.trpl.wcf.service.protobuf.pocos" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfTRPLRiskBucket">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="TRPLRiskBucket" nillable="true" type="tns:TRPLRiskBucket" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTRPLRiskBucket" nillable="true" type="tns:ArrayOfTRPLRiskBucket" />
  <xs:complexType name="TRPLRiskBucket">
    <xs:sequence>
      <xs:element minOccurs="0" name="id_risk_bucket" type="xs:long" />
      <xs:element minOccurs="0" name="effective_date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="region" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="lob" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="portfolio" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="strategy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="sub_portfolio" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="product" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ccy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="risk_curve_type" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="risk_curve_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="tenor_name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="dv01" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="curve" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="dvdf" nillable="true" type="xs:double" />
      <xs:element minOccurs="0" name="cluster" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="TRPLRiskBucket" nillable="true" type="tns:TRPLRiskBucket" />
</xs:schema>